﻿using System;
using System.Collections.Generic;

namespace autoMessage.Entities;

/// <summary>
/// 菜单权限表
/// </summary>
public partial class SysMenu
{
    /// <summary>
    /// 菜单ID
    /// </summary>
    public long MenuId { get; set; }

    /// <summary>
    /// 菜单名称
    /// </summary>
    public string MenuName { get; set; } = null!;

    /// <summary>
    /// 父菜单ID
    /// </summary>
    public long? ParentId { get; set; }

    /// <summary>
    /// 显示顺序
    /// </summary>
    public int? OrderNum { get; set; }

    /// <summary>
    /// 请求地址
    /// </summary>
    public string? Url { get; set; }

    /// <summary>
    /// 打开方式（menuItem页签 menuBlank新窗口）
    /// </summary>
    public string? Target { get; set; }

    /// <summary>
    /// 菜单类型（M目录 C菜单 F按钮）
    /// </summary>
    public string? MenuType { get; set; }

    /// <summary>
    /// 菜单状态（0显示 1隐藏）
    /// </summary>
    public string? Visible { get; set; }

    /// <summary>
    /// 是否刷新（0刷新 1不刷新）
    /// </summary>
    public string? IsRefresh { get; set; }

    /// <summary>
    /// 权限标识
    /// </summary>
    public string? Perms { get; set; }

    /// <summary>
    /// 菜单图标
    /// </summary>
    public string? Icon { get; set; }

    /// <summary>
    /// 创建者
    /// </summary>
    public string? CreateBy { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 更新者
    /// </summary>
    public string? UpdateBy { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }
}
